package mi.payment.constants;

import java.io.Serializable;

/**
 * 盛付通参数配置
 *
 * @author Lee64 on 2017/3/7.
 */
public class ParameterConfig implements Serializable {

    // 实际内容无变化，只是改变了值得获取和使用方式
    private static final long serialVersionUID = 1223038564787353478L;

    private String parameterVersion = "000";// 参数版本
    private String merchantNo;              // 商户编号
    private String terminalNo;              // 终端编号
    private String securePwd;               // 安全密码,控制商户编号与终端编号修改的权限（6位）
    private String merchantName;            // 商户名称
    private String currentTime;             // 当前时间
    private String serialNo = "000001";              // 流水号
    private String batchNo = "000001";               // 批次号
    private String maxReturnGoodAmount = "10000";    // 最大退货金额

    private String openAndCloseBitmap;      // 开关位图
    private String serverAndPort;           // 服务器IP、端口

    private String TPDU;
    private String isPreCall;                       // 是否预拨号 1=是
    private String transactionTimeOut = "60";       // 交易超时时间
    private String transactionRetryTime = "3";      // 交易重拔次数
    private String outsideNumber;                   // 外线号码

    private String centerTransactionNumber1;     // 中心交易号码1
    private String centerTransactionNumber2;     // 中心交易号码2
    private String centerTransactionNumber3;     // 中心交易号码3

    private String shieldSettings;                // 屏蔽设置
    private String correctRetryTime = "3";        // 冲正重发次数
    private String printTime = "2";               // 打印张数
    private String maxTransactionTime = "300";    // 最大交易笔数

    private String signRemark;              // 签购单备注
    private String electronicCashTime;      // 电子现金笔数
    private String isShowLogo = "1";        // 是否显示盛付通logo
    private String printTopText;            // 原样打印在二维码上方的文字
    private String printQRScan;             // 二维码链接内容转换为二维码打印
    private String printBottomText;         // 原样打印在二维码下方的文字
    private String transactionControl;      // 交易控制

    @Override
    public String toString() {
        return "ParameterConfig{" +
                "parameterVersion='" + parameterVersion + '\'' +
                ", merchantNo='" + merchantNo + '\'' +
                ", terminalNo='" + terminalNo + '\'' +
                ", securePwd='" + securePwd + '\'' +
                ", merchantName='" + merchantName + '\'' +
                ", currentTime='" + currentTime + '\'' +
                ", serialNo='" + serialNo + '\'' +
                ", batchNo='" + batchNo + '\'' +
                ", maxReturnGoodAmount='" + maxReturnGoodAmount + '\'' +
                ", openAndCloseBitmap='" + openAndCloseBitmap + '\'' +
                ", serverAndPort='" + serverAndPort + '\'' +
                ", TPDU='" + TPDU + '\'' +
                ", isPreCall='" + isPreCall + '\'' +
                ", transactionTimeOut='" + transactionTimeOut + '\'' +
                ", transactionRetryTime='" + transactionRetryTime + '\'' +
                ", outsideNumber='" + outsideNumber + '\'' +
                ", centerTransactionNumber1='" + centerTransactionNumber1 + '\'' +
                ", centerTransactionNumber2='" + centerTransactionNumber2 + '\'' +
                ", centerTransactionNumber3='" + centerTransactionNumber3 + '\'' +
                ", shieldSettings='" + shieldSettings + '\'' +
                ", correctRetryTime='" + correctRetryTime + '\'' +
                ", printTime='" + printTime + '\'' +
                ", maxTransactionTime='" + maxTransactionTime + '\'' +
                ", signRemark='" + signRemark + '\'' +
                ", electronicCashTime='" + electronicCashTime + '\'' +
                ", isShowLogo='" + isShowLogo + '\'' +
                ", printTopText='" + printTopText + '\'' +
                ", printQRScan='" + printQRScan + '\'' +
                ", printBottomText='" + printBottomText + '\'' +
                ", transactionControl='" + transactionControl + '\'' +
                '}';
    }

    public String getParameterVersion() {
        return parameterVersion;
    }

    public String getMerchantNo() {
        return merchantNo;
    }

    public String getTerminalNo() {
        return terminalNo;
    }

    public String getSecurePwd() {
        return securePwd;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public String getCurrentTime() {
        return currentTime;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public String getMaxReturnGoodAmount() {
        return maxReturnGoodAmount;
    }

    public String getOpenAndCloseBitmap() {
        return openAndCloseBitmap;
    }

    public String getServerAndPort() {
        return serverAndPort;
    }

    public String getTPDU() {
        return TPDU;
    }

    public String getIsPreCall() {
        return isPreCall;
    }

    public String getTransactionTimeOut() {
        return transactionTimeOut;
    }

    public String getTransactionRetryTime() {
        return transactionRetryTime;
    }

    public String getOutsideNumber() {
        return outsideNumber;
    }

    public String getCenterTransactionNumber1() {
        return centerTransactionNumber1;
    }

    public String getCenterTransactionNumber2() {
        return centerTransactionNumber2;
    }

    public String getCenterTransactionNumber3() {
        return centerTransactionNumber3;
    }

    public String getShieldSettings() {
        return shieldSettings;
    }

    public String getCorrectRetryTime() {
        return correctRetryTime;
    }

    public String getPrintTime() {
        return printTime;
    }

    public String getMaxTransactionTime() {
        return maxTransactionTime;
    }

    public String getSignRemark() {
        return signRemark;
    }

    public String getElectronicCashTime() {
        return electronicCashTime;
    }

    public String getIsShowLogo() {
        return isShowLogo;
    }

    public String getPrintTopText() {
        return printTopText;
    }

    public String getPrintQRScan() {
        return printQRScan;
    }

    public String getPrintBottomText() {
        return printBottomText;
    }

    public String getTransactionControl() {
        return transactionControl;
    }

    protected void setParameterVersion(String parameterVersion) {
        this.parameterVersion = parameterVersion;
    }

    protected void setMerchantNo(String merchantNo) {
        this.merchantNo = merchantNo;
    }

    protected void setTerminalNo(String terminalNo) {
        this.terminalNo = terminalNo;
    }

    protected void setSecurePwd(String securePwd) {
        this.securePwd = securePwd;
    }

    protected void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    protected void setCurrentTime(String currentTime) {
        this.currentTime = currentTime;
    }

    protected void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    protected void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    protected void setMaxReturnGoodAmount(String maxReturnGoodAmount) {
        this.maxReturnGoodAmount = maxReturnGoodAmount;
    }

    protected void setOpenAndCloseBitmap(String openAndCloseBitmap) {
        this.openAndCloseBitmap = openAndCloseBitmap;
    }

    protected void setServerAndPort(String serverAndPort) {
        this.serverAndPort = serverAndPort;
    }

    protected void setTPDU(String TPDU) {
        this.TPDU = TPDU;
    }

    protected void setIsPreCall(String isPreCall) {
        this.isPreCall = isPreCall;
    }

    protected void setTransactionTimeOut(String transactionTimeOut) {
        this.transactionTimeOut = transactionTimeOut;
    }

    protected void setTransactionRetryTime(String transactionRetryTime) {
        this.transactionRetryTime = transactionRetryTime;
    }

    protected void setOutsideNumber(String outsideNumber) {
        this.outsideNumber = outsideNumber;
    }

    protected void setCenterTransactionNumber1(String centerTransactionNumber1) {
        this.centerTransactionNumber1 = centerTransactionNumber1;
    }

    protected void setCenterTransactionNumber2(String centerTransactionNumber2) {
        this.centerTransactionNumber2 = centerTransactionNumber2;
    }

    protected void setCenterTransactionNumber3(String centerTransactionNumber3) {
        this.centerTransactionNumber3 = centerTransactionNumber3;
    }

    protected void setShieldSettings(String shieldSettings) {
        this.shieldSettings = shieldSettings;
    }

    protected void setCorrectRetryTime(String correctRetryTime) {
        this.correctRetryTime = correctRetryTime;
    }

    protected void setPrintTime(String printTime) {
        this.printTime = printTime;
    }

    protected void setMaxTransactionTime(String maxTransactionTime) {
        this.maxTransactionTime = maxTransactionTime;
    }

    protected void setSignRemark(String signRemark) {
        this.signRemark = signRemark;
    }

    protected void setElectronicCashTime(String electronicCashTime) {
        this.electronicCashTime = electronicCashTime;
    }

    protected void setIsShowLogo(String isShowLogo) {
        this.isShowLogo = isShowLogo;
    }

    protected void setPrintTopText(String printTopText) {
        this.printTopText = printTopText;
    }

    protected void setPrintQRScan(String printQRScan) {
        this.printQRScan = printQRScan;
    }

    protected void setPrintBottomText(String printBottomText) {
        this.printBottomText = printBottomText;
    }

    protected void setTransactionControl(String transactionControl) {
        this.transactionControl = transactionControl;
    }
}
